package com.zzy.service;


import com.zzy.Pojo.*;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ShoppingService
{
    //查询账户余额
    Account getAccount( String accountID);
    //添加充值记录
    int addAccount( Chongzhi cz);
    //查询充值记录状态
    String getStatus(String id);
    //根据充值记录查询账户
    Account getAccountId(String id);
    //根据充值记录查询出充值金额
    String getmoney(String id);
    //修改账户余额
    int updateAccount (Account a,String b);
    //修改充值记录
    int updateChongzhi(Chongzhi cz);
    //查询所有账户
    List<String> getzh();
}
